import request from '@/router/axios';

export const bestShop = (params) => {
  return request({
    url: '/api/statics/data-view/best-shop',
    method: 'get',
    params: {
      ...params
    }
  })
}

export const overview = (params) => {
  return request({
    url: '/api/statics/data-view/overview',
    method: 'get',
    params: {
      ...params
    }
  })
}

export const topTen = (params) => {
  return request({
    url: '/api/statics/data-view/top-ten',
    method: 'get',
    params: {
      ...params
    }
  })
}

export const lastTicketList = (params) => {
  return request({
    url: '/api/statics/data-view/last-ticket-list',
    method: 'get',
    params: {
      ...params
    }
  })
}

export const lastTicketTen = (params) => {
  return request({
    url: '/api/statics/data-view/last-ticket-ten',
    method: 'get',
    params: {
      ...params
    }
  })
}
